# coding: utf-8
class DocBll

	# 加密文档编号	
	def DocBll.encode(docid)
		docid * 7
	end

	# 解密文档编号
	def DocBll.decode(passid)
		(passid.to_i) / 7
	end

end